package com.example.composableexample.drawer

import androidx.compose.foundation.layout.padding
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Scaffold
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.navigation.NavHostController
import com.example.composableexample.drawer.common.CustomToolbarWithBackArrow

/**
 * author: LiLiang
 * createTime: 2022/10/1-13:26
 * remark:
 **/

@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun AddEditEmployeeScreen(navController: NavHostController, empId: String?, isEdit: Boolean) {
    Scaffold(topBar = {
        CustomToolbarWithBackArrow(title = "编辑信息", navController = navController)
    }, content = { paddingValues ->
        Text(text = "编辑界面", modifier = Modifier.padding(paddingValues))
    })
}